﻿using Asd;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace API.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class APIController : ControllerBase
    {
        private readonly EM_DBContext db;
        public APIController(EM_DBContext context)
        {

        }
        [HttpGet]
        public object GetAll()
        {
            return db.EM_User.ToList();
        }
    }
}
